<!--todolist组件  -->
<template>
  <li>{{content}}
    <span class="iconfont el_icon_cwq-close-circle"
    @click="li_close"
    ></span>
  </li>
</template>

<script>
export default {
  props: ["content", "index"],
  methods:{
      li_close(){
          this.$emit('delete',this.index);
      }
  }
};
</script>
<style scoped>
</style>